package com.example.springbootdemo.model;

import java.util.List;

/**
 * @author dingrz
 * @date 2022-01-20
 */
public class User {

    private Integer userId;

    private String name;

    private List<String> codes;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getCodes() {
        return codes;
    }

    public void setCodes(List<String> codes) {
        this.codes = codes;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", name='" + name + '\'' +
                ", codes=" + codes +
                '}';
    }
}
